/// <reference path="./namespacetest.ts" />

namespace Validation2 {
  const numberRegexp = /^[0-9]+$/;
  export class ZipCodeValidator implements StringValidator {
      isAcceptable(s: string) {
          return s.length === 5 && numberRegexp.test(s);
      }
  }
}